﻿using System.Collections.Generic;
using DataPost = NC.DAL.Post;
using DataCategory = NC.DAL.Category;

namespace NC.DAL
{
    public  interface IPostRepository
    {
        DataPost SaveNewPost(DataPost dataPost);
        IList<DataCategory> GetAllPostCategories();
        IList<DataPost> GetAllPost();
        DataPost GetPostById(int id);
    }
}
